package org.cid54.jshopper.dao;

import java.util.List;
import org.cid54.jshopper.model.SuperEntity;

/**
 *
 * @param <T> 
 * @author fgo
 */
public interface SuperEntityDao<T extends SuperEntity> {

    void create(T t);
    
    void update(T t);
    
    void delete(T t);

    T findById(long id);

    List<T> getAll();
    
}
